<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>酷播V4.0直播演示</title>
    <style type="text/css">
        .video {
            OVERFLOW: hidden;
            WIDTH: 100%;
            POSITION: relative
        }

        .close_light_bg {
            DISPLAY: none;
            BACKGROUND: #000;
            LEFT: 0px;
            WIDTH: 100%;
            POSITION: absolute;
            TOP: 0px;
            HEIGHT: 100%;
            opacity: .95;
            /*FILTER: alpha(opacity=95);*/
        }

        /*body {*/
            /*padding: 10px;*/
        /*}*/

        /*div.help {*/
            /*line-height: 32px;*/
            /*font-size: 14px;*/
        /*}*/
    </style>
</head>

<body>

<!--开/关灯背景-->
<div class="close_light_bg" id="close_light_bg"></div>
<!--视频位置-->
<div class="video" id="CuPlayer"><b><img src="images/loading.gif"> 网页视频播放器加载中，请稍后...</b></div>

<script type="text/javascript" src="js/swfobject.js"></script>
<script language=javascript src="js/jquery-3.1.1.min.js" type=text/javascript></script>
<script language=javascript src="js/action.js" type=text/javascript></script>
<script type="text/javascript">
    var so = new SWFObject("player.swf", "myCuPlayer", "700", "410", "9", "#000000");
    so.addParam("allowfullscreen", "true");
    so.addParam("allowscriptaccess", "always");
    so.addParam("wmode", "opaque");
    so.addParam("quality", "high");
    so.addParam("salign", "lt");
    //播放器设置-----------------------------
    so.addVariable("JcScpFile", "CuSunV4setLiveS.xml"); //配置文件

    /* 直播信号，请对应换成你自己的直播流使用 */
    so.addVariable("JcScpServer", "rtmp://play.zhibo.yngw518.com/zhibojian"); //流媒体服务器
    so.addVariable("JcScpVideoPath", "house01"); //直播流名称

    so.addVariable("JcScpAutoPlay", "yes"); //是否自动播放
    so.addVariable("JcScpImg", "images/startpic.jpg"); //视频缩略图
    so.addVariable("JcScpSharetitle", "视频标题"); //视频标题
    //-----------------------------------------

    so.write("CuPlayer");//写入视频
</script>
</body>
</html>

